import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 300毫秒点击延迟问题解决方案
import fastClick from 'fastclick'
// 引用swiper库
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'stylus/reset.css'
// 1像素边框解决方案
import 'stylus/border.css'
// 引入iconfont的css
import 'stylus/iconfont.css'
// 引用swiper组件的css
import 'swiper/dist/css/swiper.css'
// 防止浏览器没有es6新特性
import 'babel-polyfill'

Vue.config.productionTip = false
// 把自身绑定到文档中
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
